package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sc.nft.entity.EcologyPoolRecord;
import com.sc.nft.entity.EcologyPoolSourceDay;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 刘国航
 * @since 2024/7/15
 */
@Mapper
public interface EcologyPoolRecordMapper extends BaseMapper<EcologyPoolRecord> {
    /**
     * 批量入库
     * @param ecologyPoolSourceDays
     */
    void pointsBatch(@Param("batch") List<EcologyPoolSourceDay> ecologyPoolSourceDays);



    int batchSaveEcologyPoolRecord(@Param("batch") List<EcologyPoolRecord> list);
}
